package com.zengqingfa.designpattern.behavior.template.callback;

/**
 *
 * @fileName: AClass
 * @author: zengqf3
 * @date: 2021-4-9 16:36
 * @description:
 */
public class AClass {

    /**
     * 共同的逻辑
     * @param callBack
     */
    public void process(ICallBack callBack) {
        System.out.println("AClass before");
        callBack.callBack();
        System.out.println("AClass after");
    }
}
